home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
cmscreategamutcheck.z
/
cmscreategamutcheck
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
ccccmmmmssssCCCCrrrreeeeaaaatttteeeeGGGGaaaammmmuuuuttttCCCChhhheeeecccckkkk((((3333)))) CCCCMMMMSSSS ccccmmmmssssCCCCrrrreeeeaaaatttteeeeGGGGaaaammmmuuuuttttCCCChhhheeeecccckkkk((((3333))))
NNNNAAAAMMMMEEEE
cmsCreateGamutCheck - creates a gamut check from a set of profiles
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ccccmmmmssss....hhhh>>>>
iiiinnnntttt33332222 ccccmmmmssssCCCCrrrreeeeaaaatttteeeeGGGGaaaammmmuuuuttttCCCChhhheeeecccckkkk ((((ccccttttxxxxtttt,,,, pppprrrrooooffffiiiilllleeeeCCCCoooouuuunnnntttt,,,, pppprrrrooooffffssss,,,, ccccmmmmmmmm,,,, ppppttttffffmmmm))));;;;
CCCCMMMMSSSSCCCCoooonnnntttteeeexxxxtttt ccccttttxxxxtttt;;;;
iiiinnnntttt33332222 pppprrrrooooffffiiiilllleeeeCCCCoooouuuunnnntttt;;;;
CCCCMMMMSSSSPPPPrrrrooooffffiiiilllleeee ****pppprrrrooooffffssss;;;;
iiiiccccSSSSiiiiggggnnnnaaaattttuuuurrrreeee ccccmmmmmmmm;;;;
CCCCMMMMSSSSTTTTffffmmmm ****ppppttttffffmmmm;;;;
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_c_m_s_C_r_e_a_t_e_G_a_m_u_t_C_h_e_c_k uses a color manipulation module (CMM) to create a
gamut check out of a list of profiles. The resulting gamut check
simulates a sequential execution of the algorithms implied by the
individual profiles, starting from the first profile and ending in the
last profile, and then indicates whether the pixels resulting from that
transform are reproduceable on the device indicated by the final profile.
See cmsCheckGamut for an explanation of the results of applying a gamut
check.
Different CMMs will produce different transforms from the same set of
profiles. The transforms will yield different results when applied a
given set of pixels. Application writers may wish to control which CMM
is used to create and apply a transform. Accordingly, they will wish to
use the same CMM when checking the reproducibility of colors. They may
do so by specifying the CMM's name with the _c_m_m parameter. The list of
supported CMMs is returned from the command _c_m_s_G_e_t_C_m_m_L_i_s_t. Application
writers who have no preference as to the CMM used may do one of two
things. They may specify that the system's default CMM be used by setting
_c_m_m to _C_M_S__U_S_E__D_E_F_A_U_L_T__C_M_M. Each profile in the list _p_r_o_f_s may specify a
preferred CMM in its header. If the application writer sets _c_m_m to
_C_M_S__U_S_E__P_R_O_F_I_L_E__C_M_M, then the CMS goes through the list of profiles from
last to first and lets each specified CMM try to build the transform. If
the CMM can build the transform, the result is used, and that CMM will be
used to apply the transform. If the CMM cannot build the tranform, the
next one in order will be tried. If not of the CMMs can build the
tranform, _c_m_s_C_r_e_a_t_e_T_f_m returns an error. The reason the list is
traversed backward is that output devices tend to be at the end of the
profile list, and it is the profiles of output devices that tend to have
the most dramatic effects on a tranform.
EEEERRRRRRRROOOORRRRSSSS
CMS_OUT_OF_MEMORY
There is not enough memory available to create a gamut check.
CMS_WRONG_DATA
The ctxt points to something that is not a context.
PPPPaaaaggggeeee 1111
ccccmmmmssssCCCCrrrreeeeaaaatttteeeeGGGGaaaammmmuuuuttttCCCChhhheeeecccckkkk((((3333)))) CCCCMMMMSSSS ccccmmmmssssCCCCrrrreeeeaaaatttteeeeGGGGaaaammmmuuuuttttCCCChhhheeeecccckkkk((((3333))))
CMS_BAD_ENCODE
CMS_BAD_CONTEXT
CMS_TOO_MANY_CHANNELS
The CMM cannot support a gamut check with the requested number
of channels.
CMS_CMM_NOT_AVAILABLE
The requested CMM is not available.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
cmsCheckGamut, cmsCreateTfm
PPPPaaaaggggeeee 2222